package com.bridge.bridge_fx;

import android.content.Intent;
import android.view.View;

import com.alibaba.android.arouter.facade.annotation.Route;
import com.bridge.bridge_fx.databinding.FgHomeFxBinding;
import com.bridge.common.base.BaseFragment;

import androidx.annotation.Nullable;

/**
 * author : bridge.24
 * date   : 21.3.122:41
 * desc   :
 */
@Route(path = "/bridge_fx/FxFragment")
public class FxFragment extends BaseFragment {
    private FgHomeFxBinding binding ;
    @Override
    protected int layoutId() {
        return R.layout.fg_home_fx;
    }

    @Override
    protected void initView(View view) {
        binding = getBind() ;
        binding.linearSaoyisao.setOnClickListener(this);
    }

    @Override
    public void onClick(View view) {
        super.onClick(view);
//        if (view.getId() == R.id.linear_saoyisao) {
//            Intent intent = new Intent(getActivity(), CaptureActivity.class);
//            startActivityForResult(intent,1111);
//        }

    }
    @Override
    public void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {

        if (requestCode == 1111) {
            if (data != null) {
//                String content = data.getStringExtra(Constant.CODED_CONTENT);
            }
        }
        super.onActivityResult(requestCode, resultCode, data);
    }

}
